package e.g.com.service;

import java.util.List;

import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;

import e.g.com.pojo.Tb_user;

public interface UserService {
	public void insert(Tb_user user);
	public List<Tb_user> find(Tb_user user);
	public void delete( int id);
	public void update(Tb_user user) ;
	public List<Tb_user> findpage(int first);
	public List<Tb_user> findall();
	public Tb_user findbyid(int id);
	public Cookie getCookie(String key,HttpServletRequest request);
}
